package com.wifi.game.dao;

import com.wifi.game.entity.GameEntity;

import java.sql.SQLException;
import java.util.List;

public interface GameDao {
    List<Object> findAll(int star,int pageSize) throws SQLException;
   void insert(GameEntity gameEntity) throws SQLException;
    long count() throws SQLException;
    Object find(int gid) throws SQLException;
    void edit(int gid,GameEntity gameEntity) throws SQLException;
 void remove(int gid) throws SQLException;
}

